﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface IGradeRepository
    {
        // Default Add, Delete and save actions
        void Add(Grade grade);
        void Delete(Grade grade);
        void Save();

        //Querys
        IQueryable<Grade> FindAllGrades();
        Grade GetGrade(int id);
        int GetRankById(int rank);
    }
}
